/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.spareparts.material.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.spareparts.material.entity.SparepartsMaterialCodeData;
import com.jeeplus.modules.spareparts.material.mapper.SparepartsMaterialCodeDataMapper;

/**
 * 物料编码资料Service
 * @author 王洋
 * @version 2020-10-03
 */
@Service
@Transactional(readOnly = true)
public class SparepartsMaterialCodeDataService extends CrudService<SparepartsMaterialCodeDataMapper, SparepartsMaterialCodeData> {

	public SparepartsMaterialCodeData get(String id) {
		return super.get(id);
	}
	
	public List<SparepartsMaterialCodeData> findList(SparepartsMaterialCodeData sparepartsMaterialCodeData) {
		return super.findList(sparepartsMaterialCodeData);
	}
	
	public Page<SparepartsMaterialCodeData> findPage(Page<SparepartsMaterialCodeData> page, SparepartsMaterialCodeData sparepartsMaterialCodeData) {
		return super.findPage(page, sparepartsMaterialCodeData);
	}
	
	@Transactional(readOnly = false)
	public void save(SparepartsMaterialCodeData sparepartsMaterialCodeData) {
		super.save(sparepartsMaterialCodeData);
	}
	
	@Transactional(readOnly = false)
	public void delete(SparepartsMaterialCodeData sparepartsMaterialCodeData) {
		super.delete(sparepartsMaterialCodeData);
	}
	
}